import request from '@/utils/request'

// 线下打款申请列表
export function pagingProjectOrderOfflinePaymentApply(query) {
  return request({
    url: '/order/projectOrderOfflinePaymentApply/paging',
    method: 'get',
    params: query
  })
}
// 统计申请状态数量
export function getProjectOrderOfflinePaymentApplyStatusCount(query) {
  return request({
    url: '/order/projectOrderOfflinePaymentApply/getProjectOrderOfflinePaymentApplyStatusCount',
    method: 'get',
    params: query
  })
}
// 更新申请状态
export function updateProjectOrderOfflinePaymentApplyStatus(query) {
  return request({
    url: '/order/projectOrderOfflinePaymentApply/updateProjectOrderOfflinePaymentApplyStatus',
    method: 'post',
    params: query
  })
}
// 保存申请记录
export function saveProjectOrderOfflinePaymentApply(data) {
  return request({
    url: '/order/projectOrderOfflinePaymentApply/save',
    method: 'post',
    data: data
  })
}
